package com.server.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 操作日志(OperateLog)表实体类
 *
 * @author wzw
 * @since 2024-07-30 13:55:31
 */
@TableName("operate_log")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OperateLog implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("operate_user")
    private String operateUser;
    @TableField("operate_time")
    private LocalDateTime operateTime;
    @TableField("class_name")
    private String className;
    @TableField("method_name")
    private String methodName;
    @TableField("method_params")
    private String methodParams;
    @TableField("return_value")
    private String returnValue;
    @TableField("cost_time")
    private Integer costTime;
}
